﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 角色
    /// </summary>
    [Serializable]
    public class Role : EntityBase
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [Length(10)]
        [Required]
        public string Name { get; set; }        
    }
}
